package com.open.basic.request;

import com.open.basic.BasePageRequest;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;

/**
 * @author: system
 * @Date: 2024/4/21 10:05
 * @Version: V1.0
 * @description: desc: name请求参数 like查询
 */

@Data
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class NameRequest extends BasePageRequest {

    @NotEmpty(message = "name不能为空")
    private String name;

}
